package ordersystem;
import work.Orderwork; 
public class Main {
    public static void main(String[] args) {
        Orderwork orderwork = new Orderwork();  
        
        orderwork.initGlobalMenu();  // 初始化全局菜单
        System.out.println("🎉 超超超超级好吃快餐店 营业啦！🎉\n");

        boolean continueBusiness = true;
        while (continueBusiness) {
            orderwork.showMenu(); 
            continueBusiness = orderwork.processSingleOrder();
        }

        orderwork.closeScanner();
        System.out.println("\n👋 店铺打烊啦！感谢您的使用～");
    }
}